<!--
*Author：jxx
 *Contact：283591387@qq.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/erp/T_member.js此处编写
 -->
<template>
    <div>
        <view-grid
                   ref="grid"
                   :columns="columns"
                   :detail="detail"
                   :editFormFields="editFormFields"
                   :editFormFileds="editFormFields"
                   :editFormOptions="editFormOptions"
                   :searchFormFields="searchFormFields"
                   :searchFormFileds="searchFormFields"
                   :searchFormOptions="searchFormOptions"
                   :table="table"
                   :extend="extend">
        </view-grid>
    </div>
</template>

<script>
    import extend from "@/extension/erp/T_member.js";
    import ViewGrid from "@/components/basic/ViewGrid.vue";
    var vueParam = {
        components: {
            ViewGrid
        },
        data() {
            return {
                table: {
                    key: 'c_id',
                    footer: "Foots",
                    cnName: 't_member',
                    name: 'T_member',
                    url: "/T_member/",
                    sortName: "c_id"
                },
                extend: extend,
                editFormFields: {"c_account":"","c_name":"","c_order":"","c_out_card_id":"","c_out_member_id":"","c_password":"","c_phone":"","c_photo":"","c_remark":"","c_saving":"","c_shoe_size":"","c_snowseason":"","c_subject_id":"","c_type":"","c_type_name":"","c_valid_time":"","c_vein_id":"","c_vip":"","c_modify_time":"","c_level":"","c_international":"","c_id_card_type":"","c_address":"","c_birthday":"","c_box_code":"","c_card_face_id":"","c_card_id":"","c_create_time":"","c_creator_id":"","c_creator_name":"","c_vip_name":"","c_credit":"","c_disabled":"","c_discount":"","c_duty":"","c_email":"","c_gender":"","c_height":"","c_id":"","c_id_card":"","c_description":"","c_weight":""},
                editFormOptions: [[{"title":"c_account","field":"c_account","type":"text"},
                               {"title":"c_name","field":"c_name","type":"text"},
                               {"title":"排序","field":"c_order","type":"text"},
                               {"title":"c_out_card_id","field":"c_out_card_id","type":"text"}],
                              [{"title":"c_out_member_id","field":"c_out_member_id","type":"text"},
                               {"title":"c_password","field":"c_password","type":"text"},
                               {"title":"c_phone","field":"c_phone","type":"text"},
                               {"title":"c_photo","field":"c_photo","type":"text"}],
                              [{"title":"c_remark","field":"c_remark","type":"text"},
                               {"title":"储值金","field":"c_saving","type":"text"},
                               {"title":"鞋码","field":"c_shoe_size","type":"text"},
                               {"title":"雪季","required":true,"field":"c_snowseason","type":"text"}],
                              [{"title":"Koala ID","field":"c_subject_id","type":"text"},
                               {"title":"c_type","field":"c_type","type":"text"},
                               {"title":"c_type_name","field":"c_type_name","type":"text"},
                               {"title":"有效期","field":"c_valid_time","disabled":true,"type":"datetime"}],
                              [{"title":"c_vein_id","field":"c_vein_id","type":"text"},
                               {"title":"c_vip","field":"c_vip","type":"text"},
                               {"title":"修改时间","field":"c_modify_time","disabled":true,"type":"datetime"},
                               {"title":"c_level","field":"c_level","type":"text"}],
                              [{"title":"c_international","field":"c_international","type":"text"},
                               {"title":"证件类型","field":"c_id_card_type","type":"text"},
                               {"title":"c_address","field":"c_address","type":"text"},
                               {"title":"生日","field":"c_birthday","type":"text"}],
                              [{"title":"c_box_code","field":"c_box_code","type":"text"},
                               {"title":"c_card_face_id","field":"c_card_face_id","type":"text"},
                               {"title":"c_card_id","field":"c_card_id","type":"text"},
                               {"title":"创建时间","field":"c_create_time","disabled":true,"type":"datetime"}],
                              [{"title":"c_creator_id","field":"c_creator_id","type":"text"},
                               {"title":"c_creator_name","field":"c_creator_name","type":"text"},
                               {"title":"c_vip_name","field":"c_vip_name","type":"text"},
                               {"title":"积分余额","field":"c_credit","type":"text"}],
                              [{"title":"是否可用","field":"c_disabled","type":"text"},
                               {"title":"c_discount","field":"c_discount","type":"text"},
                               {"title":"c_duty","field":"c_duty","type":"text"},
                               {"title":"c_email","field":"c_email","type":"text"}],
                              [{"title":"性别","field":"c_gender","type":"text"},
                               {"title":"身高","field":"c_height","type":"text"},
                               {"title":"c_id","required":true,"field":"c_id","disabled":true,"type":"text"},
                               {"title":"c_id_card","field":"c_id_card","type":"text"}],
                              [{"title":"c_description","field":"c_description","type":"text"},
                               {"title":"体重","field":"c_weight","type":"text"}]],
                searchFormFields: {},
                searchFormOptions: [],
                columns: [{field:'c_account',title:'c_account',type:'string',width:120,align:'left',sortable:true},
                       {field:'c_name',title:'c_name',type:'string',width:120,align:'left'},
                       {field:'c_order',title:'排序',type:'int',width:120,align:'left'},
                       {field:'c_out_card_id',title:'c_out_card_id',type:'string',width:120,align:'left'},
                       {field:'c_out_member_id',title:'c_out_member_id',type:'string',width:120,align:'left'},
                       {field:'c_password',title:'c_password',type:'string',width:120,align:'left'},
                       {field:'c_phone',title:'c_phone',type:'string',width:120,align:'left'},
                       {field:'c_photo',title:'c_photo',type:'string',width:120,align:'left'},
                       {field:'c_remark',title:'c_remark',type:'string',width:120,align:'left'},
                       {field:'c_saving',title:'储值金',type:'decimal',width:120,align:'left'},
                       {field:'c_shoe_size',title:'鞋码',type:'decimal',width:120,align:'left'},
                       {field:'c_snowseason',title:'雪季',type:'string',width:120,require:true,align:'left'},
                       {field:'c_subject_id',title:'Koala ID',type:'int',width:120,align:'left'},
                       {field:'c_type',title:'c_type',type:'string',width:120,align:'left'},
                       {field:'c_type_name',title:'c_type_name',type:'string',width:120,align:'left'},
                       {field:'c_valid_time',title:'有效期',type:'bigint',width:120,hidden:true,readonly:true,align:'left'},
                       {field:'c_vein_id',title:'c_vein_id',type:'string',width:120,align:'left'},
                       {field:'c_vip',title:'c_vip',type:'string',width:120,align:'left'},
                       {field:'c_modify_time',title:'修改时间',type:'bigint',width:120,hidden:true,readonly:true,align:'left'},
                       {field:'c_level',title:'c_level',type:'string',width:120,align:'left'},
                       {field:'c_international',title:'c_international',type:'string',width:120,align:'left'},
                       {field:'c_id_card_type',title:'证件类型',type:'int',width:120,align:'left'},
                       {field:'c_address',title:'c_address',type:'string',width:120,align:'left'},
                       {field:'c_birthday',title:'生日',type:'bigint',width:120,align:'left'},
                       {field:'c_box_code',title:'c_box_code',type:'string',width:120,align:'left'},
                       {field:'c_card_face_id',title:'c_card_face_id',type:'string',width:120,align:'left'},
                       {field:'c_card_id',title:'c_card_id',type:'string',width:120,align:'left'},
                       {field:'c_create_time',title:'创建时间',type:'bigint',width:120,hidden:true,readonly:true,align:'left'},
                       {field:'c_creator_id',title:'c_creator_id',type:'string',width:120,align:'left'},
                       {field:'c_creator_name',title:'c_creator_name',type:'string',width:120,align:'left'},
                       {field:'c_vip_name',title:'c_vip_name',type:'string',width:120,align:'left'},
                       {field:'c_credit',title:'积分余额',type:'decimal',width:120,align:'left'},
                       {field:'c_disabled',title:'是否可用',type:'sbyte',width:120,align:'left'},
                       {field:'c_discount',title:'c_discount',type:'decimal',width:120,align:'left'},
                       {field:'c_duty',title:'c_duty',type:'string',width:120,align:'left'},
                       {field:'c_email',title:'c_email',type:'string',width:120,align:'left'},
                       {field:'c_gender',title:'性别',type:'int',width:120,align:'left'},
                       {field:'c_height',title:'身高',type:'decimal',width:120,align:'left'},
                       {field:'c_id',title:'c_id',type:'string',width:120,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'c_id_card',title:'c_id_card',type:'string',width:120,align:'left'},
                       {field:'c_description',title:'c_description',type:'string',width:120,align:'left'},
                       {field:'c_weight',title:'体重',type:'decimal',width:120,align:'left'}],
                detail: {
                    cnName:"#detailCnName",
                    columns: [],
                    sortName: "",
                    key:""
                }
            };
        }
    };
    export default vueParam;
</script>
